
namespace dynamic
{
	namespace python
	{
		struct wrap_var : public PyObject
		{
			var m_value;
			static var & get_var(PyObject * self);
			static void destructor(PyObject * self);
			static PyObject * add(PyObject * self, PyObject * op);
			static PyObject * call(PyObject * self, PyObject * args, PyObject * kw);
			static PyObject * get_attr(PyObject * self, char * s);
			static PyObject * get_attro(PyObject * self, PyObject * attr);
			static Py_ssize_t mp_length(PyObject * self);
			static PyObject * mp_subscript(PyObject * self, PyObject * member);
			static int mp_ass_subscript(PyObject * self, PyObject *member, PyObject *value);
		};
	}
}

